﻿

namespace Chain.BLL
{
    using Chain.IDAL;
    using Chain.Model;
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Data;
    using System.Runtime.InteropServices;
    public class Mem_Activity
    {
        private readonly Chain.IDAL.Mem_Activity dal = new Chain.IDAL.Mem_Activity();
        public int Add(Chain.Model.Mem_Activity model)
        {
            return this.dal.Add(model);
        }
       
        public bool Exists(int MemID,int ActivityID)
        {
            return this.dal.Exists(MemID,ActivityID);
        }

        public DataTable GetList(int MemID) {
            return this.dal.GetList(MemID);
        }

        public bool UpdateClose(int MemID) {
            return this.dal.UpdateClose(MemID);
        }
    }
}
